<template>
  <MyHeader>  
    <template v-slot="result">
      <p>{{ result.message }}</p>
    </template>
  </MyHeader>
</template>

<style>
p{
  border: 1px blue solid;
}
</style>

<script setup>
import MyHeader from './MyHeader.vue';
</script>